//
//  BaseTableView.m
//  20240823
//
//  Created by 张伟 on 2024/8/25.
//

#import "BaseTableView.h"

@implementation BaseTableView

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style {
    if (self == [super initWithFrame:frame style:style]) {
        [self configUI];
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    [self configUI];
}

-(void)configUI {
    self.showsVerticalScrollIndicator = false;
    self.showsHorizontalScrollIndicator = false;
    self.rowHeight = UITableViewAutomaticDimension;
    self.keyboardDismissMode = UIScrollViewKeyboardDismissModeOnDrag;
    self.backgroundColor = UIColor.clearColor;
    self.tableFooterView = UIView.new;
    self.separatorStyle = UITableViewCellSeparatorStyleNone;
}


@end
